package com.lagou.rpc.consumer.client.lb;

import org.apache.commons.lang3.RandomUtils;

/**
 * @author xingyi
 */
public class RandomSelector extends BaseLoadBalanceStrategy {
    @Override
    public int pickClientIndex() {
        return RandomUtils.nextInt(0, clientSize);
    }
}
